#if !defined(AFX_DLGITEMS_H__4F2B860F_B0BB_4905_A8EA_53B1B0BBFAC9__INCLUDED_)
#define AFX_DLGITEMS_H__4F2B860F_B0BB_4905_A8EA_53B1B0BBFAC9__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// DlgItems.h : header file
//

#include "resource.h"
#include "BaseClass.h"
#include "../include/IniManager.h"
/////////////////////////////////////////////////////////////////////////////
// CDlgItems dialog

class CDlgItems : public CDialog,public CBaseClass
{
// Construction
public:
	CDlgItems(CWnd* pParent = NULL);   // standard constructor
	
	CIniManager ini;
	BOOL ReLoadInfo();
	BOOL SaveInfo();
	BOOL ShowDlg();
	BOOL HiddenDlg();
	BOOL IninDataInfo();
	BOOL LeftToRight();
	BOOL RightToLeft(int iType);
	BOOL SetDlgItemLanguage();
	BOOL CheckIsInBack(ListItemConfig& item);
	BOOL CheckIsInAll(ListItemConfig& item);
// Dialog Data
	//{{AFX_DATA(CDlgItems)
	enum { IDD = IDD_DLG_Items };
	CEdit	m_strSearchKey;
	CListCtrl	m_listItemsInBack;
	CListCtrl	m_listAll;
	//}}AFX_DATA


// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CDlgItems)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CDlgItems) 
	virtual BOOL OnInitDialog();
	afx_msg void OnBTNSearch();
	afx_msg void OnRADIOUNTake();
	afx_msg void OnRADIOSell();
	afx_msg void OnRADIOStroe();
	afx_msg void OnRADIOUnSell();
	afx_msg void OnBTNAddMonster();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_DLGITEMS_H__4F2B860F_B0BB_4905_A8EA_53B1B0BBFAC9__INCLUDED_)
